package com.ddpt.permission.service;

import com.lh.center.common.base.BizService;
import com.lh.center.permission.api.entity.Permission;
import com.lh.center.permission.api.request.PermissionQueryRequest;
import com.lh.center.permission.api.session.SessionPermission;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author czy
 * @since 2022-04-07
 */
public interface PermissionService extends BizService<Permission> {

    List<SessionPermission> buildLayerPermission(List<SessionPermission> permissionList);

    List<SessionPermission> queryTree(PermissionQueryRequest queryRequest);
}
